*{
    margin: 0;
    padding: 0;
    transition: all 250ms;
    user-select: none;
    font-weight: bold;
    font-family: cool_font;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(83, 83, 83);
    background-image: url(../img/resetBg.png);
}
.error{
    position: relative;
    width: 500px;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px black;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.error h1{
    left: 0;
}
.error h1 a{
    color: rgb(7, 104, 160);
}
.error h1 a:hover{
    color: rgb(7, 132, 204);
}
.resetDiv{
    position: relative;
    width: 500px;
    height: 350px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px black;
    backdrop-filter: blur(10px);
}
h1{
    position: relative;
    left: 180px;
}
.text{
    position: relative;
    display: flex;
    justify-content: center;
}
.text span{
    color: rgb(2, 119, 31);
}
.pass_input,.confirmPass_input{
    position: relative;
    outline: none;
    border: 0;
    height: 25px;
    width: 280px;
    font-size: 20px;
    border-bottom: 2px solid rgb(199, 199, 199);
    background-color: initial;
    left: 46%;
    margin-left: -25%;
    font-family:Arial, Helvetica, sans-serif;
}
.pass_span,.confirmPass_span{
    position: absolute;
    pointer-events: none;
    font-size: 20px;
    left: 0;
    left: 46%;
    margin-left: -25%;
}
.pass_underline,.confirmPass_underline{
    position: relative;
    width: 280px;
    height: 2px;
    top: -2px;
    left: 0;
    transform: scaleX(0);
    background-color: rgb(99, 194, 209);
    left: 46%;
    margin-left: -25%;
    box-shadow: 0px 0px 1px rgb(170, 170, 170);
}
.code_underline{
    width: 165px;
}
/* .user_span,.pass_span,.code_span */
.pass_input:focus ~ .pass_span,
.confirmPass_input:focus ~ .confirmPass_span,
.confirmPass_input:valid ~ .confirmPass_span,
.pass_input:valid ~ .pass_span{
    font-size: 15px;
    transform: translateY(-15px);
}
.user_input:focus ~ .user_underline,
.pass_input:focus ~ .pass_underline,
.code_input:focus ~ .code_underline,
.email_input:focus ~ .email_underline,
.user_input:valid ~ .user_underline,
.pass_input:valid ~ .pass_underline,
.code_input:valid ~ .code_underline,
.email_input:valid ~ .email_underline{
    transform: scaleX(1);
}
input[type=password]::-ms-reveal{
    width: 20px;
    height: 20px;
}
img{
    position: relative;
    left: 280px;
    top: -32px;
    width: 80px;
    height: 30px;
    background-color: bisque;
}
.confirm{
    position: relative;
    width: 100px;
    height: 40px;
    font-size: 20px;
    border-radius: 10px;
    background-color: rgb(223, 251, 252);
}
p{
    text-align: center;
    height: 40px;
    left: 150px;
}
.confirm{
    left: 200px;
}
.confirm:hover{
    background-color: rgb(167, 211, 211);
}
h2{
    position: absolute;
    bottom: 50px;
    backdrop-filter: blur(10px);
    color: rgb(255, 127, 127);
}